package com.feng.newconfig.demos.nacosdiscoveryconsumer;

import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import javax.annotation.Resource;

/**
 * @author yinglong.zhang
 * @description
 * @date 2024-1-18 9:18
 */
@Service
public class EchoFaced {
    @Resource
    private EchoService echoService;

    public String echo(String message) {
        return echoService.echo(message);
    }
}
